#pragma once

namespace Broady {

class Timer
{
public:
	void Update( void );
	unsigned int Elapsed( void ) const;
	unsigned int Current( void ) const;
	bool Fire( void );
	void Reset( void );
	void Init( unsigned int interval );

private:
	unsigned int m_interval;
	unsigned int m_accum;
	unsigned int m_elapsed;
	unsigned int m_current;
};

} // namespace
